﻿using System.ComponentModel.DataAnnotations;

namespace T.E.ERP.Read.API.Dtos.Dtos
{
    /// <summary>
    /// 物料分类dto
    /// </summary>
    public class MaterialsCopyDto
    {

        /// <summary>
        /// 主键 物料分类编号
        /// </summary>
        [Key]
        public int id { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 分类编码
        /// </summary>
        public string category_code { get; set; }

        public List<MaterialsCopyDto> children { get; set; }


    }
}
